﻿namespace WeChat.Entity
{
    /// <summary>
    /// 用户角色
    /// </summary>
    public class UserRoles : BaseEntity<int>, IsActivate
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public WeChatUsers User { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        public Roles Role { get; set; }

        public bool IsActivate { get; set; }
    }
}
